package com.wyd;

import lombok.Data;

import java.util.List;

@Data
public class Table {
    private String name;
    private String comment;
    private String collate;
    private String primaryKey;

    private List<Cloumn> columns;

    @Data
    public static class Cloumn {
        private String name;
        private String comment;
        private String type;
        private String collate;
        private boolean unique = false;
    }
}
